<?php 
$sql="select * from rubros where RubroHabilitada=1 and RubroTipo=2 order by RubroNombre asc";
$res=cons_sql_up($sql);
?>
<div class="btn-group-vertical">
<?php while($reg=mysql_fetch_array($res)):?>
      <button type="button" class="btn btn-default" onClick=" window.location.href='resistenciaconstruccion.php' ">
	
	  <?php echo utf8_encode($reg['RubroNombre'])?></a>
	
<?php endwhile ?>
	  
      <!--<div class="btn-group">
        <button id="btnGroupVerticalDrop1" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
          Grupro de Rubros 1
          <span class="caret"></span>
        </button>
        <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop1">
          <li><a href="#">Rubro 3</a></li>
          <li><a href="#">Rubro 4</a></li>
        </ul>
      </div>-->
	  
   
    </div>